'use strict';
var React = require('react');
class ReLazyLoadJS extends React.Component {

    componentDidMount(){
        window.onscroll = function(){
            var t = document.documentElement.scrollTop || document.body.scrollTop;
            if( t >= 300 ) {
                alert('dsf');
            }
        }
    }

    render() {
        return (
         <div style="display:none"></div>
        );
    }
}

module.exports = ReLazyLoadJS;